<%@ include file="/common/taglibs.jsp"%>
<probiz:pageHeading pageHeadingKey="wrapList.title" />

<content tag="buttons">
	<probiz:iconBtn btnType="add" onclick="return fnDoAdd(this)" />
	<probiz:iconBtn btnType="delete" onclick="return fnDoMultiDelete(this, false);" />
	
</content>
    <form class="mainForm" name="wrapListFrm" method="post">
	<div class="top clearfix">
		<ul class="tab">
			<li class="curr"><span><fmt:message key="menu.wrapList"/></span></li>
		</ul>
		<%@include file="/common/pagingOnlyTop.jsp"%>
	</div>	
	<div class="data">
		<c:set var="checkAll"><input type="checkbox" name="allbox" onclick="checkAll(this.form)" style="margin: 0 0 0 0px" /></c:set>
		<display:table name="${wrapList}" cellspacing="0" cellpadding="0"	uid="wrapItem" class="list_table"	export="false" requestURI="" >
		<display:column style="width:1%;" class="checkbox_column" title="${checkAll}" headerClass="data-table-title" media="html">
		    <input type="checkbox" name="multiIds" value="<c:out value="${wrapItem.wrapId}"/>"  class="checkbox" />
		</display:column>
		<display:column  style="width:8%;" sortable="false" headerClass="data-table-title" maxLength="128"
	        decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="wrap.imageSrc">
	        <c:if test="${not empty wrapItem.imageSrc}">
	       	<img src="${mediaPath}${wrapItem.imageSrc}" width="80" height="80" onerror="this.onerror='';this.src=__defaultImage"/>
	        </c:if>
		</display:column>
	   <display:column style="width:10%;" property="wrapName" sortable="true" headerClass="data-table-title" url="/system/wrap.html?doAction=edit&from=list" paramId="wrapId" paramProperty="wrapId"
	        decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="wrap.wrapName"/>
	    <display:column style="width:8%;"  sortable="true" headerClass="data-table-title"
	        decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="wrap.defaultPrice">
	        	<common:currencyFormat value="${wrapItem.defaultPrice}" />
	      </display:column>                 
	    <display:column sortable="false" headerClass="data-table-title" maxLength="128"
		    url="/system/wrap.html?doAction=edit&from=list" paramId="wrapId" paramProperty="wrapId"
	        decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="wrap.description" style="width:35%;">${wrapItem.description}</display:column>	
	</display:table>
		<%@include file="/common/paging.jsp"%>
	</div>
	
</form>
<script type="text/javascript">
	highlightTableRows("wrapItem");
</script>







